package com.cityp.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("all_questionbank")
public class Question {
    @TableId(type = IdType.AUTO)
    private Long id;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String qbId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String qbtId;
    private String qbQuestion;
    private String qbAnswer;
    @TableField("qb_selectA")
    private String qbSelectA;
    @TableField("qb_selectB")
    private String qbSelectB;
    @TableField("qb_selectC")
    private String qbSelectC;
    @TableField("qb_selectD")
    private String qbSelectD;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField("qb_selectE")
    private String qbSelectE;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @TableField("qb_selectF")
    private String qbSelectF;
}
